Flexible sigmoidoscopy or colonoscopy